﻿
<style>
    .m-body {
        padding: 0;
        margin: 0;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .chat-thread {
        margin: 24px auto 0 auto;
        padding: 0 0px 0 0;
        list-style: none;
        overflow-y: hidden;
        overflow-x: hidden;
    }

        .chat-thread li {
            position: relative;
            clear: both;
            display: inline-block;
            padding: 16px 40px 16px 20px;
            margin: 0 0 20px 0;
            font: 16px/20px 'Noto Sans',sans-serif;
            border-radius: 10px;
            background-color: rgba(25,147,147,0.2);
        }

            .chat-thread li:before {
                position: absolute;
                top: 0;
                width: 50px;
                height: 50px;
                border-radius: 50px;
                content: '';
            }

            .chat-thread li:after {
                position: absolute;
                top: 15px;
                content: '';
                width: 0;
                height: 0;
                border-top: 15px solid rgba(25,147,147,0.2);
            }

            .chat-thread li:nth-child(odd) {
                animation: show-chat-odd .15s 1 ease-in;
                -moz-animation: show-chat-odd .15s 1 ease-in;
                -webkit-animation: show-chat-odd .15s 1 ease-in;
                float: right;
                margin-right: 80px;
                color: #808080;
            }

                .chat-thread li:nth-child(odd):before {
                    right: -80px;
                    background-image: url(img/a2.png);
                    background-size:50px 50px;
                }

                .chat-thread li:nth-child(odd):after {
                    border-right: 15px solid transparent;
                    right: -15px;
                }

            .chat-thread li:nth-child(even) {
                animation: show-chat-even .15s 1 ease-in;
                -moz-animation: show-chat-even .15s 1 ease-in;
                -webkit-animation: show-chat-even .15s 1 ease-in;
                float: left;
                margin-left: 80px;
                color: #000000;
            }

                .chat-thread li:nth-child(even):before {
                    left: -80px;
                    background-image: url(img/a1.png);
                     background-size:50px 50px;
                }

                .chat-thread li:nth-child(even):after {
                    border-left: 15px solid transparent;
                    left: -15px;
                }

    .chat-window {
        position: fixed;
        bottom: 18px;
    }

    .chat-window-message {
        width: 100%;
        height: 48px;
        font: 32px/48px 'Noto Sans',sans-serif;
        background: 0;
        color: #0ad5c1;
        border: 0;
        border-bottom: 1px solid rgba(25,147,147,0.2);
        outline: 0;
    }

    @media all and (max-width:767px) {
        .chat-thread {
            width: 90%;
        }

        .chat-window {
            left: 5%;
            width: 90%;
        }
    }

    @media all and (min-width:768px) {
        .chat-thread {
            width: 50%;
        }

        .chat-window {
            left: 25%;
            width: 50%;
        }
    }

    @keyframes show-chat-even {
        0% {
            margin-left: -480px;
        }

        100% {
            margin-left: 0;
        }
    }

    @-moz-keyframes show-chat-even {
        0% {
            margin-left: -480px;
        }

        100% {
            margin-left: 0;
        }
    }

    @-webkit-keyframes show-chat-even {
        0% {
            margin-left: -480px;
        }

        100% {
            margin-left: 0;
        }
    }

    @keyframes show-chat-odd {
        0% {
            margin-right: -480px;
        }

        100% {
            margin-right: 0;
        }
    }

    @-moz-keyframes show-chat-odd {
        0% {
            margin-right: -480px;
        }

        100% {
            margin-right: 0;
        }
    }

    @-webkit-keyframes show-chat-odd {
        0% {
            margin-right: -480px;
        }

        100% {
            margin-right: 0;
        }
    }

    .credits {
        text-align: center;
        margin-top: 35px;
        color: rgba(255,255,255,0.35);
        font-family: 'Noto Sans',sans-serif;
    }

        .credits a {
            text-decoration: none;
            color: rgba(255,255,255,0.35);
        }
</style>
<div class="m-body">
    <div id="convo" data-from="Sonu Joshi">
        <ul class="chat-thread">
            <li>今天天气怎么样</li>
            <li>挺好的</li>
            <li>你看那云像不像我借你的200块钱呢</li>
            <li>挺像的</li>
            <li>好的吧!!</li>
            <li>I was thinking after lunch, I have a meeting in the morning</li>
            <li>Are we meeting today?</li>
            <li>yes, what time suits you?</li>
            <li>I was thinking after lunch, I have a meeting in the morning</li>
            <li>Are we meeting today?</li>
            <li>yes, what time suits you?</li>
            <li>I was thinking after lunch, I have a meeting in the morning</li>
        </ul>
    </div>


    <!--<div style="text-align:center;clear:both">
        <script src="/gg_bd_ad_720x90.js" type="text/javascript"></script>
        <script src="/follow.js" type="text/javascript"></script>
    </div>
    <div class="credits"><a href="http://codepen.io/clintioo/pen/HAkjq">Original Pen</a> by <a href="http://codepen.io/clintioo/pen/HAkjq">clintioo</a></div>-->
</div>
<style>
    .app-footer {
        display: none;
    }
</style>


<div class="navbar navbar-fixed-bottom bg-light lt b-t ng-scope" ng-class="{'m-n': app.hideAside }">
    <div class="row">
        <div class="col-sm-8">
            <input type="text" placeholder="请输入消息" style="width:80%;float:left;margin-top:10px;" class="input-sm form-control">
            <button style="float:right;margin-top:8px;" class="btn btn-info">发送</button>
        </div>
        <div class="col-sm-2">
            <!--<div class="w-xl w-auto-xs center-block">
            </div>-->

        </div>
        <div class="col-sm-2 hidden-xs">

        </div>
    </div>
</div>